8.8
HIGH CVSS 3.1
CVE-2025-68143
mcp-server-git's unrestricted git_init tool allows repository creation at arbitrary filesystem locations
Description

Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). In mcp-server-git versions prior to 2025.9.25, the git_init tool accepted arbitrary filesystem paths and created Git repositories without validating the target location. Unlike other tools which required an existing repository, git_init could operate on any directory accessible to the server process, making those directories eligible for subsequent git operations. The tool was removed entirely, as the server is intended to operate on existing repositories only. Users are advised to upgrade to 2025.9.25 or newer to remediate this issue.

INFO

Published Date :

Dec. 17, 2025, 11:16 p.m.

Last Modified :

April 14, 2026, 3:30 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-68143 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Lfprojects model_context_protocol_servers
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 4.0 MEDIUM [email protected]
Solution
Upgrade to the latest version to prevent unauthorized repository creation and manipulation.
  • Upgrade to version 2025.9.25 or newer.
  • Ensure servers operate only on existing repositories.
Public PoC/Exploit Available at Github

CVE-2025-68143 has a 23 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-68143.

URL Resource
https://github.com/modelcontextprotocol/servers/commit/eac56e7bcde48fb64d5a973924d05d69a7d876e6 Patch
https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-5cgr-j3jf-jw3v Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-68143 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Rust Go Python HTML TypeScript

Updated: 1 week ago
0 stars 0 fork 0 watcher
Born at : April 23, 2026, 3:29 a.m. This repo has been linked 4 different CVEs too.

Security gateway for MCP traffic. 5 built-in rules block prompt injection, credential leakage, path traversal, cross-repo exfiltration, and destructive commands. One pip install, zero config.

mcp security python proxy claude ai-agents prompt-injection self-hosted model-context-protocol llm-security ai-security cursor security-tools path-traversal credential-leakage

Python

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : April 21, 2026, 11:54 a.m. This repo has been linked 12 different CVEs too.

A transparent inspection proxy for LLM API traffic and MCP tool call flows

Updated: 1 week, 3 days ago
0 stars 0 fork 0 watcher
Born at : April 19, 2026, 7:22 p.m. This repo has been linked 3 different CVEs too.

None

Python TypeScript Shell JavaScript CSS

Updated: 1 week, 4 days ago
0 stars 0 fork 0 watcher
Born at : April 19, 2026, 5:49 p.m. This repo has been linked 7 different CVEs too.

None

Python TypeScript Shell JavaScript CSS

Updated: 2 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : April 14, 2026, 1:41 p.m. This repo has been linked 7 different CVEs too.

None

Python Dockerfile

Updated: 1 week, 3 days ago
1 stars 1 fork 1 watcher
Born at : April 13, 2026, 5:22 p.m. This repo has been linked 2 different CVEs too.

A curated timeline of real AI agent security incidents, breaches, and vulnerabilities (2024-2026). Every entry sourced and dated.

ai-agent-security ai-agents ai-security awesome-list cybersecurity llm-security mcp-security prompt-injection supply-chain-security adversarial-attacks agent-security agentic-ai ai-attacks ai-safety cve incident-response owasp red-team security-research vulnerability

Updated: 1 week ago
7 stars 1 fork 1 watcher
Born at : April 7, 2026, 2:19 p.m. This repo has been linked 55 different CVEs too.

Security research and exploit development: vulnerability analysis, exploit chain implementation, post-exploitation tradecraft, and defensive assessment tooling. Covers browser engines, persistence mechanisms, credential harvesting, C2 patterns, and AI-accelerated attack automation.

ai-security browser-security credential-harvesting cve exploit-development post-exploitation proof-of-concept red-team reverse-engineering security-research streamlit vulnerability-analysis worm

Shell HTML JavaScript Batchfile PowerShell Python Makefile Rust C YARA

Updated: 1 week, 1 day ago
0 stars 1 fork 1 watcher
Born at : April 5, 2026, 3:06 p.m. This repo has been linked 30 different CVEs too.

None

Updated: 3 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : April 5, 2026, 1:01 a.m. This repo has been linked 1 different CVEs too.

Runtime security proxy for MCP servers — the open-source firewall between AI agents and tools

Dockerfile Go

Updated: 3 weeks, 5 days ago
0 stars 0 fork 0 watcher
Born at : April 4, 2026, 10:33 p.m. This repo has been linked 5 different CVEs too.

Skill Panel — Panel todo-en-uno para Claude Code. Explora, audita y gestiona skills y servidores MCP desde el navegador. Scanner de seguridad con 37 checks basados en CVEs reales (malware, exfiltración, prompt injection). Instala MCPs con un click — pega tu token y listo. Detecta automáticamente todo lo instalado. Mac y Windows.

JavaScript HTML

Updated: 4 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : March 30, 2026, 8:01 p.m. This repo has been linked 4 different CVEs too.

Open-source catalog of 200+ attack vectors targeting AI agents, MCP servers, and LLM-powered applications. Machine-readable (JSON/YAML) with OWASP mappings.

agent-security ai-security llm-security mcp-security owasp prompt-injection security-research threat-catalog

Python Makefile

Updated: 3 weeks, 6 days ago
0 stars 0 fork 0 watcher
Born at : March 28, 2026, 9:12 a.m. This repo has been linked 2 different CVEs too.

Dynamic security scanner for MCP (Model Context Protocol) servers — actively probes live servers with exploit payloads. By Cyberneticsplus Services Private Limited.

Python Shell

Updated: 3 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : March 28, 2026, 7:08 a.m. This repo has been linked 2 different CVEs too.

Security scanner for MCP server configurations

Python

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : March 27, 2026, 9:23 p.m. This repo has been linked 5 different CVEs too.

None

JavaScript HTML TypeScript CSS Python

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : March 22, 2026, 9:17 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-68143 vulnerability anywhere in the article.

  • CybersecurityNews
Multiple 0-day Vulnerabilities in Anthropic Git MCP Server Enables Code Execution

Three zero-day vulnerabilities in mcp-server-git, the reference implementation of Git integration for the Model Context Protocol (MCP). The flaws stem from insufficient input validation and argument s ... Read more

Published Date: Jan 21, 2026 (3 months, 1 week ago)
  • The Hacker News
Three Flaws in Anthropic MCP Git Server Enable File Access and Code Execution

A set of three security vulnerabilities has been disclosed in mcp-server-git, the official Git Model Context Protocol (MCP) server maintained by Anthropic, that could be exploited to read or delete ar ... Read more

Published Date: Jan 20, 2026 (3 months, 1 week ago)
  • The Register
Anthropic quietly fixed flaws in its Git MCP server that allowed for remote code execution

Anthropic has fixed three bugs in its official Git MCP server that researchers say can be chained with other MCP tools to remotely execute malicious code or overwrite files via prompt injection. The G ... Read more

Published Date: Jan 20, 2026 (3 months, 1 week ago)

The following table lists the changes that have been made to the CVE-2025-68143 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Apr. 14, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Added CPE Configuration OR *cpe:2.3:a:lfprojects:model_context_protocol_servers:*:*:*:*:*:*:*:* versions up to (excluding) 2025.9.25
    Added Reference Type GitHub, Inc.: https://github.com/modelcontextprotocol/servers/commit/eac56e7bcde48fb64d5a973924d05d69a7d876e6 Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-5cgr-j3jf-jw3v Types: Vendor Advisory
  • New CVE Received by [email protected]

    Dec. 17, 2025

    Action Type Old Value New Value
    Added Description Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). In mcp-server-git versions prior to 2025.9.25, the git_init tool accepted arbitrary filesystem paths and created Git repositories without validating the target location. Unlike other tools which required an existing repository, git_init could operate on any directory accessible to the server process, making those directories eligible for subsequent git operations. The tool was removed entirely, as the server is intended to operate on existing repositories only. Users are advised to upgrade to 2025.9.25 or newer to remediate this issue.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-22
    Added Reference https://github.com/modelcontextprotocol/servers/commit/eac56e7bcde48fb64d5a973924d05d69a7d876e6
    Added Reference https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-5cgr-j3jf-jw3v
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.